<?php

    require("top.ajax.php");

    if(isset($_POST['id'])) {
        $photo = new PhotoProduct($_POST['id']);
        $tpl->assign("photo", $photo);
        $tpl->display("ajax/photoproduct.tpl");

    }


?>